home *** CD-ROM | disk | FTP | other *** search
- Path: zilker.net!usenet
- From: gregor@di3270.com (Greg Rickard)
- Newsgroups: comp.lang.c++
- Subject: private base class vs. private member object
- Date: 8 Mar 1996 17:29:45 GMT
- Organization: Data Interface Systems Corporation
- Message-ID: <4hpqq9$9o3@hackberry.zilker.net>
- Reply-To: di@di3270.com
- NNTP-Posting-Host: dp10.zilker.net
- X-Newsreader: WinVN 0.91.6
-
- In Cargill's C++ Programming Style, exercise 3.1 asks the reader to
- "create a class that obtains the services of another class that must be
- incorporated as a private base class. Second, create a class in which a
- service must be incorporated as a private member object".
-
- I'll admit to being stumped, but I'll also admit to being new to this....
-
- Any ideas?
-
- This is a very thoughtful and thought-provoking book, by the way.
-